package com.ljf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.ExchangePointPageDto;
import com.ljf.entity.ExchangePointProducts;
import com.ljf.entity.PointProducts;

import java.util.List;
import java.util.Map;

public interface ExchangePointProductService extends IService<ExchangePointProducts> {
    List<Map<String, Object>> queryPointProductBymemberId(Long memberId);

    List<Map<String, Object>> queryOptionsMember();

    List<Map<String, Object>> queryOptionsPointProducts();

    PointProducts queryPointProductByGoodsId(Long goodsId);

    void saveExchangePointProductRecords(ExchangePointProducts exchangePointProducts, String token);

    Page<ExchangePointProducts> queryPageByQoExchangePointProducts(ExchangePointPageDto dto);

    List<Map<String, Object>> queryOptionsMemberPhone();

    void delExchangePointProducts(String cn);
}
